projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01502d
)
(internal_self_insert): Check sym by SYMBOLP before
author
Kenichi Handa
<handa@m17n.org>
Mon, 13 Jul 2009 01:02:51 +0000
(
01:02
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 13 Jul 2009 01:02:51 +0000
(
01:02
+0000)
calling XSYMBOL (sym).
src/cmds.c
patch
|
blob
|
history
diff --git
a/src/cmds.c
b/src/cmds.c
index 60916705c97f23d37eda455e44a4b0267047852b..33472b5710bb2567d84ecce8ec9e2a1e261d251f 100644
(file)
--- a/
src/cmds.c
+++ b/
src/cmds.c
@@
-492,7
+492,7
@@
internal_self_insert (c, noautofill)
/* If we expanded an abbrev which has a hook,
and the hook has a non-nil `no-self-insert' property,
return right away--don't really self-insert. */
- if (! NILP (sym) && ! NILP (XSYMBOL (sym)->function)
+ if (
SYMBOLP (sym) &&
! NILP (sym) && ! NILP (XSYMBOL (sym)->function)
&& SYMBOLP (XSYMBOL (sym)->function))
{
Lisp_Object prop;